package com.ruoyi.web.controller.xcx;

import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.system.domain.AVipRentRecords;
import com.ruoyi.system.service.IAVipRentRecordsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
@RequestMapping("/xcx/aVipRentRecords")
public class XcxAVipRentRecords extends BaseController {
    @Autowired
    private IAVipRentRecordsService aVipRentRecordsService;

    /**
     * 查询求租会员列表
     */
    @GetMapping("/list")
    public TableDataInfo list(AVipRentRecords aVipRentRecords) {
        startPage();
        List<AVipRentRecords> list = aVipRentRecordsService.selectAVipRentRecordsList(aVipRentRecords);
        return getDataTable(list);
    }
}
